Bioenergy could bring new life to shuttered mill