added simple static function for creating an asset from an upload