changes in monitor to analyze optionally only new files