Implemented uploading of result files to GridFS.
Added command line option to skip uploading files to GridFS.