The moving parts of a file into contiguous blocks or sectors on a hard drive to increase the speed of access and retrieval.