'Start monitoring a file for changes.
@type name: L{bytes}
@param name: The name of a file to monitor.
@type callback: callable which takes a L{bytes} argument
@param callback: The function to call when the file has changed.
@type interval: L{float}
@param interval: The interval in seconds between checks.'

def monitorFile(self, name, callback, interval=10):

    try:
        mtime = os.path.getmtime(name)
    except:
        mtime = 0
    self.files.append([interval, name, callback, mtime])
    self.intervals.addInterval(interval)
