My initial thought is that it is a troll post as well. All interviewers had to say was "ok, but your program needs to be able to take input from a file and write output to a file" and OP would have been caught with his pants down.
Instead OP is a hero who bests the interviewers at every turn with his cleverness.
Instead OP is a hero who bests the interviewers at every turn with his cleverness.