[fix] add loose check for file names with no extensions