New FilePathTools stuff

New FilePathTools stuff: 1 method, fixed other methods, corresponding
unit tests etc