Add flag remove_dir_to to output task

To not remove existing files in directory. Useful for cases when files are coming from multiple different directories.