Extremely simplified ls implementation