Another way would be `newObjectName = new File(lookUri).getName();`.