Implement an easier, more flexiable method for upload files to histories (file type defaults to 'auto', db key defaults to '?', can override tool id, can upload multiple files (if tool supports it)).