attempt at cleanup of fileReader() stuff

not yet succesful.