Implement file traverser and Command Pattern to do different things when traversing the file directory