@Rob,
Thanks for your code snippet. It's highly appreciated. But in my case, I don't want to pass the filename as a variable to the function, but when I eventually will need to, your snippet is ideal.
Thanks for your code snippet. It's highly appreciated. But in my case, I don't want to pass the filename as a variable to the function, but when I eventually will need to, your snippet is ideal.