Fix opening removed files