New commit of lineDetector w. automatic saving after last line