add file name

In openstack swiftclient and other clients, typically used to determine whether a file exists:

if xxx_file:

So if not name, returns false, this will cause a lot of errors.