Filenames are modified when the key is changed