added class for reading lines from file