Skips files that are already in db
full cycle condition
can now search subfolders