refactor the FS uploader :tada: nodefn ftw! :tada: