According to a court filing, some 4,000 public service workers in the US are at the risk of losing their jobs.