fixed bug in provider not retuning file data