changes to README file reader function