read_to_character -> getc -> read_string -> check_open