Double underscore (__), differnetiates differnet parts of the file name. Part1 --> value before first __ (example, address_change) Part2 --> value after first __ and before second__ (example, customer_request, corres_in) Part3 --> value after second __ (example, 111, 222)
I am able to read the file names and get the values for Part1, Part2 and Part3. The file names with similar Part3 need to be handled in the same way. Example, files 1 and 2, need to be handled differently from files 3,4 and 5.
Please let me know how can I distinguish files based on Part3.