String (@NotNull String path, int startPathLength) { String relativePath = path.substring(startPathLength).replace(File.separatorChar, '/'); return relativePath.startsWith("/") ? relativePath.substring(1) : relativePath; }