I suppose you'd like it to work with touch Screen also?
I do have an old project that uses Direct3D11 for touch screen code.
Back to doing a Script........
I'm thinking a multidimensional array would work to adjust obj files on import.
So say the Location.dat has 200 objects. I'd have the array set for 200 by 3 or 6 depending on Blender Python.