Fix - reemplace getrealname -> getPathname