def read_file(file):
    """
    Reads a file.

    Parameters:
        file: Path to the file.

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