append

add append functions to support multi-file input