allow directory to be dump