Remove ls function to prevent recursion

Signed-off-by: Michael Barton <mail@michaelbarton.me.uk>