Create the file object on the stack.