public static void rename(String sourceFile, String newFile) {
        File fs = new File(sourceFile);
        File fd = new File(newFile);

        if (fs.exists()) {
            if (fs.renameTo(fd)) {
//                log.info(fs.getName() + " has been renamed to " + fd.getName());
            } else {
            	log.error("Rename failed.");
            }
        } else {
        	log.error("File is not exit.");
        }
    }