Changes split on hardcoded "/" to os.sep for compatibility with Windows machines