fixed #17 . Added a test on the filename