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