Added support for min and max file dates

This functionality is largely untested.  Until it can be properly
tested, consider this an unstable feature.