Add the ability to remove the relative paths (e.g., '.' and '..') when calling
list().