Adjusted so only files that actually completed processing were written to .processed.
Adjusted so only files that actually completed processing were written to .processed.

Tenma-Server/Tenma,hmhrex/Tenma,Tenma-Server/Tenma,hmhrex/Tenma,hmhrex/Tenma,Tenma-Server/Tenma