process_line and read_file in Bed class