changes to read file