Auto increment file number for saving files.