- mock functionality for all file operations