update isbinaryfile