def file_lines_list(file):
    """ Reads a plaintext file, retuns a list of all non-blank whitespace-trimmed lines"""
    lines = []
    with open(file) as file_object:
        for i, line in enumerate(file_object):
            the_line = line.strip()
            if the_line:
                lines.append(the_line)
    return lines