Testing image file relation