The files property, provided by the blender file browser, contain paths relative to the directory property. Use that instead of using the filepath parent directory.
The files property, provided by the blender file browser, contain paths relative to the directory property. Use that instead of using the filepath parent directory.