Particle Diffusion and Acceleration by Shock Waves in Magnetized Filamentary Turbulence