a simple node directory walker that returns an array of files via the callback