Started on image handling.

TODO for binary files.