work to read file