replace bin with c code file