Cleaner method using os.path.split

instead of using regex to strip corpora filename, used os.path.split to keep final folder name of corpora