in reply to
Cannot work on second file after reading first file.
Hello, and welcome to the Monastery!
Since this has turned into quite a detailed-and-deep (as well as very useful) thread, could you please post a summary of how things turned out, at or near the end of the thread. What the issues turned out to be, and how they were dealt with. This will make it that much easier for the next Monk to quickly grok the issue by (starting with ...) reading one post. It’s a nice way, I think, to package a thread for posterity.