@@ -0,0 +1,1291 @@
+import java.io.IOException;%0Aimport java.io.FileNotFoundException;%0Aimport java.util.Scanner;%0Aimport java.util.ArrayList;%0A%0Aclass FileTweaker %7B%0A%0A%09public static void main(String%5B%5D args) throws IOException %7B%0A%0A%09%09Scanner userInput = new Scanner(System.in);%0A%09%09ArrayList%3CString%3E tweakee = new ArrayList%3CString%3E();%0A%0A%09%09System.out.print(%22Please enter the name of the input text file: %22);%0A%09%09String inFile = userInput.next();%0A%0A%09%09System.out.print(%22Please enter the name of the output text file: %22);%0A%09%09String outFile = userInput.next();%0A%0A%09%09System.out.print(%22Would you like to append to the file (y/N): %22);%0A%09%09String append = %22N%22;%0A%09%09append = userInput.next();%0A%0A%09%09try %7B%0A// tries and if it errors it catches the exception%0A%09%09%09//FileLoader loadee = new FileLoader(inFile);%0A%09%09%09//tweakee = loadee.loadFile();%0A%0A%09%09%09AltFileLoader altLoadee = new AltFileLoader(inFile);%0A%09%09%09tweakee = altLoadee.loadFile();%0A%0A%09%09%09tweakee.set(2, %22meh%22);%0A%0A%09%09%7Dcatch (IOException ioe) %7B%0A%0A%09%09%09System.out.println(ioe.getMessage());%0A%09%09%7D%0A%0A%09%09try %7B%0A%0A%09%09%09if (append.equalsIgnoreCase(%22Y%22)) %7B%0A%0A%09%09%09%09FileDumper dumpee = new FileDumper(outFile, true);%0A%09%09%09%09dumpee.dumpFile(tweakee);%0A%09%09%09%7D else %7B%0A%09%09%09FileDumper dumpee = new FileDumper(outFile);%0A%09%09%09%09dumpee.dumpFile(tweakee);%0A%09%09%09%7D%0A%09%09%7D catch (IOException ioe) %7B%0A%0A%09%09%09System.out.println(ioe.getMessage());%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create FileTweaker.java