public static File renameFile(String srcFile, String destFile)
    {
        if (StringUtils.isBlank(srcFile) || StringUtils.isBlank(destFile))
        {
            return null;
        }

        File oldfile = new File(srcFile);
        File newfile = new File(destFile);

        if (oldfile.renameTo(newfile))
        {
            return newfile;
        }
        return null;
    }