def totrun(temp_path,filenumbers):
    for temp_file in filenumbers:
        az = McAnalyzer('None')
        full_path = temp_path + str(temp_file)
        #print full_path
        az.set_path(full_path)
        print az.path
        az.load_logfile()
        az.run(1)