def get_filelines(filename):
    """ Returns a list of all stripped non-empty lines in filename in order
    """
    print("Parsing SSM file %s" % filename)
    with open(filename, 'r') as read_file:
        filelines = read_file.readlines()
    filelines = [line.strip() for line in filelines if len(line.strip()) > 0]
    return filelines