use getNode() instead of field reference
add file upload