add naïve file extn check