DW: Added file object to the template upload

Close #17