add counter to file names