Only mark a file as done when all threads have finished processing
XML fragments
Merge pull request #406 from atlasapi/pa-file-completion

PA adapter: Only mark a file as done when all threads have finished processing XML fragments