static String fileURItoRelativePath(String filePath) { filePath = filePath.replaceAll('file:///', '/'); return p.relative(filePath); }