ask whether overwrite the file