read file begin