added function to get the filename
Merge pull request #1 from badnack/master

added function to get the filename