File filtering refactored. DateTimeCheking was splitted.