Created a fab task for running reports
Make sure image file is seeked to the start before reading it