Incorporating and opening binary file in app?

Hi All,

I am developing an app that is able to control an embedded device. Furthermore the app should be able to update the embedded device firmware. This is done by sending a binary file to the device through http post.

I want the binary file to be inside the app. So my question is, how can i make the binary file a part of the app, and then open and read it later?