file visitor for pom files