UPDATE: overwrite logic (change name if file.exist() and overwrite == false)