TODO: Skip files already processed

Speed up processing by skipping files that have already been processed.