I like this idea of adding a configuration value for a default required length. I would just change the name to, say, "DEFAULT_TIMESTAMP_LENGTH", to allow different default upper bounds for different files.