Upshur County inmate files suit, claims violations