Debug file and image type