def METHOD_NAME(fileNamePattern, newFileName, sourceDir):
    for file in glob.glob(sourceDir + '/' + fileNamePattern):
        debug('Renaming file {0} to {1}'.format(file, newFileName))
        os.rename(file, sourceDir + '/' + newFileName)