def fname_to_string(fname):
    """Return given file as sring
    Parameters
    ----------
    fname : str
        absolute path to file.
    """
    with open(fname) as fid:
        string = fid.read()
    return string