file filtration by size/extension

RemoteFile has been removed and replaced with the more robust
UploadFile, which accepts local filesystem uploads as well. UploadFile
filters by a configurable size and by an array of file extensions