Update ID counter on file upload.
Merge pull request #3 from stuhlmueller/master

Update ID counter on file upload.