add counter to file name to avoid file name duplication