def read_file(file_path):
    """
    Reads the contents of the given file.
    :param file_path: the file path to read
    :return: the contents of the file
    """
    with open(file_path) as f:
        return f.read()
