fix read file