More print statements removed. Added redundant mapping to identify file and dir blocks.