tries to fix the logo for file type