def read_file(file_path):
    """Reads file at `file_path` in read-only mode.

    Parameters
    -----------------
    file_path : str
        Path of file to read.

    data : str
        Data read from file.
    """
    with open(file_path, 'r') as f:
        data = f.read()

    return data