The Aberdeenshire facility is one of 13 earmarked for closure by the end of the year.