converting file to bufimage

....
....

...