def read(path):
    """
    Get file contents

    Parameters
    ----------
    path : pathlib.Path
        Path of file to read

    Returns
    -------
    str
        File contents
    """
    with path.open('r') as f:
        return f.read()
