added command for dumping memory for file