The attorney for a man who died of a fentanyl overdose while in a local detention center is filing a wrongful death lawsuit.