HTML article galley downloads instead of displays (HTML plugin is installed) and no access to dependent files

Where does ojs get the file_type from? We have some very strange file_types.

Thank you,
Lisa