Remove Relative Paths on list()

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