Beam manipulation for compact laser wakefield accelerator based free-electron lasers. (10th February 2015)