changed file uploads to always return a FileTransfer -- and a Cast to convert them to images if needed