getAllFileNames function

Extract children names across all processes