File traversal rewritten using NIO.