Ojs 3.1 - hide xml file

I want to hide xml files. How can i hide them from showing up as download just like pdf files. I cant delete them and i have to upload them so that it can be shown as html files.

If you only have XML galleys you could probably hide them with some CSS. But if you have both XML and PDF galleys then that is probably not possible. There could be a hook in the code that would enable you to hide them using a plugin that checks the filetype and the decides whether to show them, but that of course requires coding.