now findLines takes sessionpart as third argument