Two-thirds of workers at the historic Fife factory could lose their jobs.