Adding a unique number to the end of a filename