EscapeFilePath function