automate gnerating binary files