Open both files Read each line from the first file Split it into mount point, total space, used space, free space Do the same for the second file Compare matching mount points to see the differences.