Fix read from csv and delete image on end of process.