Make sure we check files have extensions.