removed xe_root value (undefined value used), used the path given by the user for get list instead of '/', added checking if directory exists and made the code display the results always;