Somewhat more permissive around file extensions.