directory splitter has been changed for linux