def put(filenames, file_type='<STR_LIT>', history_id=None):
history_id = history_id or os.environ['<STR_LIT>']<EOL>gi = get_galaxy_connection(history_id=history_id)<EOL>for filename in filenames:<EOL><INDENT>log.debug('<STR_LIT>', gi, history_id, filename, file_type)<EOL>history = gi.histories.get(history_id)<EOL>history.upload_dataset(filename, file_type=file_type)<EOL><DEDENT>
Given filename[s] of any file accessible to the docker instance, this
function will upload that file[s] to galaxy using the current history.
Does not return anything.