A lawsuit was filed against Border Patrol over an immigration enforcement operation in Bakersfield in early January.