static byte[] isGZipFile_magic = bytesFromHex("1f8b08"); sbool isGZipFile(File f) { ret byteArraysEqual(isGZipFile_magic, loadBeginningOfBinaryFile(f, l(isGZipFile_magic))); }