modification of the pattern matching of the files in the top processes functions