temp file was created instead of a temp dir - fixed
debug helper: it shows the obtained output