def load_file(filename):
    """
    Loads and returns the contents of filename.

    :param filename: A string containing the filepath of the file to be loaded/
    :type filename: str

    :return: Contents of the loaded file.
    :rtype: str
    """
    with open(filename, "r") as fh:
        return fh.read()