Revert "support for file extensions with dots (.) in them"

This reverts commit 4439ab932535897adc93039a5b212ea21ef399df.