So I am writing a very large java code, within this code I want it to output files in a particular file format. In this instance it is going to be a simple .txt file.
Non static means that it belongs to some class instance(object). So pass this object to your static method and/or create those objects inside it.