inputfile: Use a vector instead of an array on the stack.