Revert "Addresses #5 - Made dots in the path not be considered the extension"

This reverts commit 32a2159d3b04be1c1f5b1857afee65d184136355.