use file source path for dir instead of separate output dir