def set_contents_from_filename(self, filename, headers=None, replace=True,
                                   cb=None, num_cb=10, policy=None, md5=None,
                                   reduced_redundancy=False,
                                   encrypt_key=False):
        fp = open(filename, 'rb')
        def _set_contents_from_filename(response):
            fp.close()
            if callable(callback):
                callback(response)
        self.set_contents_from_file(fp, headers, replace, cb, num_cb,
                                    policy, md5, reduced_redundancy,
                                    encrypt_key=encrypt_key, callback=_set_contents_from_filename)
Store an object in S3 using the name of the Key object as the
dataset/ETHPy150Open yyuu/botornado/botornado/s3/key.py/AsyncKey.set_contents_from_filename