Windows 10, like Windows 8 and Windows 7 before it, automatically defragments files for you on a schedule (by default, once a week). To have your computer run more efficiently, use the built-in tool in Windows to defragment those files. Over time, files on your hard drive get fragmented, and your computer slows down because it has to check multiple places on your drive for those pieces.