restoring image files