Improved the fileList.xml generator