def _read_file(file_path):
    """ Reads returns file contents.

    Args:
        file_path (str): path of file
    
    Returns:
        str: file contents
    """
    lines = []
    with open(file_path, 'r') as file:
        lines = file.readlines()
    return ''.join(lines)