public void input_file(string filepath) { this.infile = filepath; this.cache = ""; localFile LI; if (!open(out LI, this.infile)) { perlException("Unable to open " + this.infile); } string line; int debugSafety = 0; while ((line = LI.getLine()) != null && debugSafety < 9999) { this.cache += line; debugSafety++; } if (debugSafety == 9999) { Logger.LogError("WARNING: INFINITE WHILE BROKEN"); } close(LI); }