Fix for Issue #1

Fix for issue where file without an extension are not detected properly.