def _read_file(path):
    """Reads the whole file and returns its content.

    Args:
        path: The file path.

    Returns:
        The content of the file.
    """
    f = open(path, 'r')
    return f.read()