def track(*args):
    """
    Track additional files. It is often useful to use glob.glob here.
    For instance:

        track('config.ini', glob.glob('templates/*.pt'), glob.glob('db/*.db'))

    @param args: A list where each element is either a filename or an
        iterable of filenames
    """
    for arg in args:
        if isinstance(arg, str):
            arg = [arg]
        for filename in arg:
            realname, modified_time = _get_filename_and_modified(filename)
            if realname and realname not in _process_files:
                _process_files[realname] = modified_time