handle case of missing

because sed cannot append to empty file