 Retroactive techniques attempt to reduce fragmentation, or the negative effects of fragmentation, after it has occurred.Many file systems provide defragmentation tools, which attempt to reorder fragments of files, and sometimes also decrease their scattering (i.e.improve their contiguity, or locality of reference) by keeping either smaller files in directories, or directory trees, or even file sequences close to each other on the disk.