added file export feature

Change-Id: Ib64e5396548f4c2ad74d799ab68aab76b4ea07a6