add new classes for handeling reading a writing directly to and form the file system

this adds the ability to read and write to and from the filesystem directly keeping the memory footprint low