Updated createCommand function in order to use raw binary file.