add obj name to function
add file upload