Minor fix for read_topology_from_file