added binary file framework