add possibility to override how the unique filename is generated