Moved dump data stuff to its own file.