ls implementation in Rust