Added file operations helper