add ImageFile class for images attach