def METHOD_NAME(current_file):
    return StringIO(subprocess.check_output(['java', '-cp',
                                             'lib/checkstyle/checkstyle.jar:lib/checkstyle/appinventor-checks.jar',
                                             'com.puppycrawl.tools.checkstyle.Main', '-c',
                                             'lib/checkstyle/appinventor-checks.xml', current_file],
                                            encoding='utf-8', cwd=basedir))