Avoiding direct usage of FileOperations