Man who spent 37 years in prison files lawsuit for wrongful conviction