fd = new FileIO(argv[0], "r"); while(fd.read(2048)) { console_log(fd.data()); }