newfileaction (newfaction) invokes a program for each file that newly is created in a directory you want to visit.