in reply to How to pass filepath as a parameter to URL using perl (SOLVED)
How do you get $filename from the URL?
What is the error message you get?