updated File Reader