Sounds like you need a script to rename the files so there are file1.ext instead of file.ext.1