storing directory traversal code here for future use.