human
Solve the following python programming problem given the following code:
def installStatsLoop(statsFile, statsDelay) : 
    'Installs an interval loop that dumps stats to a file.' 
    def dumpStats() : 
        'Actual stats dump function.' 
        scales.dumpStatsTo (statsFile) 
        reactor.callLater (statsDelay, dumpStats) 
def startStats() : 
        'Starts the stats dump in "statsDelay" seconds.' 
        reactor.callLater (statsDelay, dumpStats) 
reactor.callWhenRunning (statsFile) 

    
    

    Fix the buggy line: reactor.callWhenRunning (statsFile)
assistant
#Here is Python code to fix the buggy line: reactor.

reactor.callWhenRunning (def startStats()