use getRawPath() instead of getPath() to avoid [] issue