added preliminary filepath splitting