remember line when reopening a file