Fixing bug for detecting extensions such as csv