Changed file creation algorithm and now introduced cfg.newFile()
Changed file creation algorithm and now introduced cfg.newFile()