raise exception in csv unknown file types