FIX: error and sanity checks
ADD: command for hosting a file on a camera
ADD: temporary file cleanup