Merge pull request #19 from wush978/master

debug of typo in helper function
export DA_file