fix output to have file names