Stripped out example code and now reading contents of first file
added basic functionality for getting one html tag at a time from file