I'm writing a little program that needs to extract some files off the end of itself. It's going to be an .html and a few .jpg's. I figured for the .html part I'd need to open the executable as text, but can I then just take the "text" for the .jpg files and write them to a seperate file?