def read_topology_file(data_path) -> str:
    """Reads the topology and returns the contents of the data file as a string."""
    with open(data_path, "r") as f:
        data_string = f.read()

    return data_string