Well, I return to my post above, its is about the process, not coding. You need to create a workable, validatable, and reproduceable process for the import of data. You say if a file <xyz> contains <data> then <do>. That is a process. First you need a method of securely and surely recieving said file. How will you do that in a consitent manner over the lifetime of the process? Now what the file contains - what does data mean, XPT files, CSV, datasets etc., could be all number of things, where is the data import agreement which details what is contained, and some sort of spec to validate it against. Then the <do> part is to publish it to production for others to use.
Of course, if you want to save yourself the trouble just do it manually.
... View more