def get_all_lines(file):
    """
    Reads a file returning all it's lines in a array of lines format.
    """
    line = file.readline()
    lines = []
    while line:
        lines.append(line)
        line = file.readline()
    return lines
