CoreFile: Now adds an incremental number

If the file already exists with the provided name