*/
private File copyFile ( File file, Folder parent, Host host ) throws DotDataException, IOException {
File newFile = new File();
newFile.copy( file );
newFile.setParent(parent.getInode());
// gets filename before extension
String fileName = com.dotmarketing.util.UtilMethods.getFileName( file.getFileName() );
// gets file extension