fixed path bug in binfile