change exportation except for file
Revert "change exportation except for file"

This reverts commit 6195535210ab99d963287a06f70ef3e08fbc1c3e.
change exportation except for file
migration better
fix test