Yes it works if the filepath points to a file that actually exists. What I don't understand is how you're getting errors with the Try/Catch in place to ignore them!