CoreFile: Now adds an incremental number

If the file already exists with the provided name
Merge pull request #19 from jmsche/patch-1

CoreFile: Now adds an incremental number