show metadata instead of filename if metadata is set