Update isBinaryFile