Data stored in fields only lasts while a method is executing;
perhaps for the length of time that an application is running.
Just about any program in any language, to be useful, is going to
have to get input from somewhere, process that input in some way, and
store the result somewhere.
Most programs will operate by getting data from a file, somewhere,
and/or producing output in a file.