provide more flexible upload bactch file interface