experimenting with bytestring to optimize IO. Have to manage thousands of file I/Os