Since no one is trying to answer, I will give it a try to see if it can fit your requirement
Assuming each server is consuming the files one at a time, we may be able to run 'cksum' on the files and take the modular to determine if the file is meant for a particular server to process.
Suppose you have 3 servers (server1, server2, server3). server1 will consume any file cksum%3==0, server2 will consum any file cksum%3==1, etc
For server1, this is the code to pick up the first file to process