def METHOD_NAME():
    from optparse import OptionParser
    parser = OptionParser()
    parser.add_option('-v', '--verbose', action="store_true", dest='verb',
            help='display loading bar and error messages')
    opts,args = parser.parse_args()
    if not sys.stdin.isatty():
        OSversion = sys.stdin.readline()
        x,y,OSversion = OSversion.partition(': ')
        OSversion=OSversion.strip('\r\n')
        OSversion = OSversion + ".pdb"
        inGuid = sys.stdin.readline()
        inGuid = sys.stdin.readline()
        x,y,inGuid = inGuid.partition(': ')
        inGuid=inGuid.strip('\r\n')
        inName = sys.stdin.readline()
        x,y,inName = inName.partition(': ')
        inName=inName.strip('\r\n')
        if inName == '':
            error()
        #print "OSversion: %s" % OSversion
        #print "Guid: %s" % inGuid
        #print "Name: %s" % inName
        #sys.exit(0)
        saved_file = download_file(inGuid,inName,opts.verb)
    else:
        error()
    if saved_file is not None:
        if saved_file.endswith("_"):
            # extrace compressed PDB
            retval = os.system(
                    'cabextract %s 1>/dev/null 2>/dev/null' % saved_file)
            if retval is not 0:
                # extract with msexpand if cabextract doesn't work
                os.system("msexpand %s 1>/dev/null" % saved_file)
                os.system("rm %s" % saved_file)
                os.system("mv %s %s" % (saved_file[:-1], OSversion))
            else:
                os.system("rm %s" % saved_file)
                savefile = saved_file[:-1] + 'b'
                os.system("mv %s %s" % (savefile, OSversion))
    print "%s" % OSversion