use my own list.h to maintain a list of lines in a file