Generate the unique filename using the fostlib function.