adds proper glob expansion

but requires fix, capfiles should be multiple not just one