fixed filename not showing up correctly in output