Load a topology from filename and return it.

def load_from_file(filename):
    '''
    Load a topology from filename and return it.
    '''
    t = None
    with open(filename, 'rU') as infile:
        tdata = infile.read()
        t = Topology.unserialize(tdata)
    return t