fixed string version of GetFilePath