made huge changes due to changes in the esp-progwiki and description in the newsgroup. also added functions needed in the getFileLine function, which has also been expanded