These two IoUtil.asserts() should probably be replaced with for (File f : foo) IoUtil.assert().  Otherwise we'll just get more cryptic error messages later if files are not readable.