def read_file_to_string(path):
    """
    Returns the contents of a file at ``path`` as a string.

    :param path: A path string
    :return: Contents of the file as a string
    :raises FileNotFoundError: If ``path`` does not exist
    :raises UnicodeDecodeError: If file does not contain UTF-8/ASCII text
    """
    with open(path, "r") as f:
        return f.read()