modified read file