Added the FileOperations class and the main script