Maybe 'generate_filename' instead of 'compose_filename' is more suggestive?