add default_filename function