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