def read_lines(file_path: str) -> list:
    """Given file, read each line and return a list of lines

    Args:
        file_path (str): Path of source file

    Returns:
        list: List of line contents of the file
    """
    with open(file_path, 'r') as f:
        lines = f.readlines()

    lines = [line.rstrip() for line in lines]

    return lines