snark ls from PPT 0.014
make the exe a sub
send output as return value instead of stdout