Move partition to file