added an example implementation of FileVisitor interface