Regenerate conf if it is an empty file