Fixing file type