don't crash if file quickly dissapears