static L> moveAllFilesWithExtension(S ext, File from, File to) { new L> l; for (File f : listFilesWithExtension(ext, from)) { moveFileToDirVerbose(f, to); l.add(pair(from, to)); } ret l; }