Updated version.
Changed line breaks to LF only.
Enhanced to see the content provider to list directories.