 			resMap[newId] = resMap[oldId]
 			delete resMap[oldId]
 
-_postFiles = (db, files, callback) ->
+_postFiles = (db, files, no_upload, callback) ->
+	if no_upload
+		log.warn "Skipping uploads as no_upload was given"
+		return callback()
 	if 'infolisFile' not of db
 		log.warn "No infolisFiles in the database"
 		return callback()

		)
		unless 'no-timestamp' of req.query
			timestamp = "#{Date.now()}"
		form.parse req, (err, fields, files) ->
			if err
				log.error err

		if fileId not of files
			missingFiles.push fileId
	if missingFiles.length > 0
		return callback new Error("Did not provide these files: #{[missingFiles]}")
	# Post all files
	Async.eachLimit Object.keys(db.infolisFile), 10, (fileId, cb) ->
		log.silly files[fileId]
