Change FileNameFormat from interface to abstract.

Allows for external configuration of FileNameFormat.