Output filename and change timer to use tic/toc