printing out filename before output