// Get filename of file or directory
File aFile=new File(dir.getAbsolutePath()+System.getProperty("file.separator")+children[i]);
try {
// Create the entry on the floppy
FsDirectoryEntry floppyEntry = fs.getRoot().addFile(children[i]);
//floppyEntry.setName(children[i]);
System.out.print("- Processing file: "+children[i]+" ");
FsFile floppyfile = floppyEntry.getFile();
// Copy the file over
if (aFile.isFile()) {
FileInputStream fis= new FileInputStream(aFile);