Removing old files with more practical library functions