add mock for file reader/writer