The Machinists union that represents Pratt & Whitney workers at the Cheshire plant filed a complaint Monday with the National Labor Relations Board, alleging that 38 layoffs are retribution for filing a lawsuit against the company to prevent the closure of the Cheshire factory and East Hartford's airfoil unit, known as CARO.