Update file_operations.rb