Created the function for the ls command, will need to test this once create is fully functional