add support for input file change detection