delete old file before generate new image