Walks a directory and copies text files.