def file_delete( blockchain_id, data_name, config_path=CONFIG_PATH, wallet_keys=None ):
config_dir = os.path.dirname(config_path)<EOL>client_config_path = os.path.join(config_dir, blockstack_client.CONFIG_FILENAME )<EOL>proxy = blockstack_client.get_default_proxy( config_path=client_config_path )<EOL>fq_data_name = file_fq_data_name( data_name ) <EOL>res = blockstack_client.data_delete( blockstack_client.make_mutable_data_url( blockchain_id, fq_data_name, None ), proxy=proxy, wallet_keys=wallet_keys )<EOL>if '<STR_LIT:error>' in res:<EOL><INDENT>log.error("<STR_LIT>" % res['<STR_LIT:error>'])<EOL>return {'<STR_LIT:error>': '<STR_LIT>'}<EOL><DEDENT>return {'<STR_LIT:status>': True}<EOL>
Remove a file
Return {'status': True} on success
Return {'error': error} on failure