addtemp file and images