def get_mtype_from_filename(filename, sep='<STR_LIT:_>'):
return os.path.basename(filename).split(sep)[<NUM_LIT:0>]<EOL>
Get mtype of a morphology file from file name

    Assumes file name has structure 'a/b/c/d/mtype_xyx.abc'