handle a list of files
more rules