def readFileLines(filename, strip=True):
    """
    Convenience method for getting an array of fileLines from a file.
    """
    with open(filename, 'r') as f:
        lines = [l.strip("\r\n") if strip else l for l in f.readlines()]
    return lines