Fixing file resolution