create empty file before editing.