added directory dump functionality, and fat dump functionality