named output dir based on input filename