this isn't needed, you can just avoid calling ``file_usage_list()`` if ``!$file``