import java.util.*; import java.io.*; public class TimTab0 { public static void main(String[] args) throws IOException { Scanner sc = new Scanner(new File(args[0])); ArrayList data = new ArrayList(); while (sc.hasNext()) data.add(sc.next()); sc.close(); System.out.println(data); } } // // takes a filename from the command line // and outputs that file sorted, one word per line //