Added file header parameter to image loader