Control over high peak-power laser light and laser-driven X-rays