write files names in the output