private static void printList(File[] list) {
private void printList(File[] list, PrintStream out) {
	private static void printList(File[] list) {		if (list != null) {			for (int i = 0; i < list.length; i++) {				File f = list[i];				if (f.isDirectory()) {					System.out.print("[" + f.getName() + "]");				} else {					System.out.print(f.getName() + " " + f.length());				}				System.out.println();			}			System.out.println();		}	}