If the variable myfile has been declared, then the way to create an object with a file name of input.dat is to declare the variable input.dat as well. Next, the variable can then be assigned to the data that is manually inputted. Finally, the reference variable myfile can be equated to the input.dat variable.