adjusted read and write variables to run through the filestore class. Also Added Exceptions to 'adding items' code to specify imput requirements