String[] fileList = fileSet.getDirectoryScanner(getProject()).getIncludedFiles();
for (int i = 0; i < fileList.length; i++) {
File file = new File(fileSet.getDir(getProject()).getAbsolutePath() + "/" + fileList[i]);
try {
beautifier.beautify(file, debugMode ? new File(file.getAbsoluteFile()+"_debug") : null);
} catch (FileNotFoundException e) {
throw new BuildException(e.getMessage(), e);
} catch (IOException e) {
throw new BuildException(e.getMessage(), e);
}