File upload made generic with file object name in the uri