Fix for issue #1

Modify the getFilenameWithoutExtention [sic] method to correctly return the filename without the extension even if multiple . characters are present in the filename.