Move printing dataset files to sample program.