adding unique number to filenames