Hylang version of ls_leaves.py Python script