reuse code for Tools menu Upload item