Added a function to file_ops