add export and file apis
add export and file apis