Function addFileOperationHandler