Wo, I never actually expected anyone to reply let alone offer an potential solution - thank you very much!!
I just about have my module ready for release so this will help in its maintenance (your code or a derivative will not be released as its just for my own version of the module as I need it to maintain the content of a file which will, be public.
I bet your intrgued now