nwk save-upload; move save-upload related stuff into separate files