Add file write and read routines for the file storage type
change the start and size args to be geenric to storage types
add unit tests for file storage