read file sync