Read a text file and write the content to a Katalon project test case

So what you want is to read a file in.

Different ways of Reading a text file in Java - GeeksforGeeks

And then write the file out. The issue is getting the name of the test case file name.

Java Create and Write To Files