object.send(attribute_name).file.filename if object.respond_to?(attribute_name)