Corrections in file operations