Fixes #12 (double-opening files)

This fixes issue #12: "C# algorithm: if unit tests not found, production
code is shown twice, and vice versa"