def get_mtype_from_directory(filename):
return os.path.split(os.path.dirname(filename))[-<NUM_LIT:1>]<EOL>
Get mtype of a morphology file from file's parent directory name

    Assumes file name has structure 'a/b/c/mtype/xyx.abc'