public BinInclude(File file, boolean littleEndian)
        throws IllegalIncludeException {
        if(!file.exists()) {
            throw new IllegalIncludeException("File "+file+" does not exist");
        }

        int bytesize = (int)file.length();
        if(bytesize % 2 != 0) {
            throw new IllegalIncludeException("File size of "+file+" must be an even number of bytes");
        }

        this.file = file;
        this.littleEndian = littleEndian;
        this.wordsize = bytesize / 2;
    }