public static void getFiles(File f) {
        File files[];
        if(f.isFile()) {
        	
        	String path = f.getAbsolutePath();
        	try {
        		getNames(path);
        		System.out.println(path);
        	}
        	catch(Exception e) {
        		System.out.println("ERROR!!! " + path);
        	}
        }
        else {
            files = f.listFiles();
            for (int i = 0; i < files.length; i++) {
                getFiles(files[i]);
            }
        }
    }