Will be better for pipeline purpose to add automatic directory creation if output directory not exist.