class FileHelper {

	public static boolean isZipFile(File file) throws IOException {
		long n;
		try (RandomAccessFile raf = new RandomAccessFile(file, "r")) {
			n = raf.readInt();
		}
		return n == 0x504B0304;
	}

}