Incorporate Karl's fix to partition to work with files that start part way through the month.