def METHOD_NAME(filename):
    """
    Read the entire contents of file.
    :param filename: Path to the file.
    :type filename: str
    :return: File contents
    :rtype: str
    """
    with open(filename, "r", encoding="utf-8") as file_obj:
        contents = file_obj.read()
    return contents