Support visiting .java & .xml files.