Encapsulation of the file operations?