changes made to reading files