Bug fix - directory traversal module

Fix for bug that was causing exceptions.