last fix at file_ops functions