Replication of the UNIX command: ls