fix file scrubbing