write to a file using buffer writter code example
Example: bufferedwriter example
import java.io.*;
BufferedWriter bw = new BufferedWriter(new FileWriter(System.getenv("OUTPUT_PATH")));
import java.io.*;
BufferedWriter bw = new BufferedWriter(new FileWriter(System.getenv("OUTPUT_PATH")));