Batch processing working. Missing updating files when they are replaced instead of creating a new row