Output folder optionally is created by sample name if not given explictly