Fixing a file upload potential bug and working on concurrency issues.