debug read_file