implements grab-new-file indexing step.