The docstrings and variable names for the batch_load_from_files function suggest that only json files are accepted as input, rather than both json and SBML.
The function currently checks whether the files in a batch are json or SBML by checking for a .json or .xml suffix--because people often use different extensions (e.g., modelname.sbml is common rather than modelname.xml), we should use the built-in error handling capabilities of cobrapy to determine whether the file type was correct. This will also enable the SBML parser to read compressed SBML files without any additional modification of Medusa code. We will need to add an additional argument to the function for the user to specify json or sbml, or have separate functions a la cobrapy (I favor an additional argument).