Putting in place dealing with files that gets deleted. It does not crash now!