% somehow open the file for reading % read in line by line % discard lines not wanted % transform the wanted lines into html % print % close the file