improvements to FilePath