Beginning of readFile function

readFile currently preps for read (writes junk files using writeFile)
then reads inStream into nothingness