The OP wants a program which will generate find statement(s).
For instance, an awk or shell program (or any other) could generate find statements.
But you need to define proper conditions for it.
Exact conditions like input file format, error handling desired (like possible timeouts,file locking, other processes on files in question etc.), exact find switches you wish you use in what scenario.
Just reading find switches from files does not bode well
Can you post your entire code with a short explanation what you wish to change ?