iterate over all files