use argument as target directory
add argument for changeFiles