Assuming that you get no error message, what happens if you hard code the filename. I have a feeling that the file name is not being picked up from the ListView.
If possible post up a small app tha demonstates the problem as it will be easier for us to find the issue.