set the physical path of captured files correctly