++fcount;
XFile file = new XFile(dirname, fname);
long mod = file.lastModified() + 1000L;
StringVector sv = file.getTextLines();
StringVector svout = new StringVector();
XString xheader = new XString(header);
XString className = new XString(prepend + fname.substring(0, fname.length() - 5));
className.replace(File.separator, ".");
String modificationDateString = new Date(mod).toString();
xheader.replace(DATE, modificationDateString);
xheader.replace(NOW, now);
xheader.replace(VERSION, version);
xheader.replace(CLASSNAME, className.toString());
boolean removing = false;
svout.append(BEGIN_HEADER);
svout.append(xheader.toString());
svout.append(END_HEADER);