list now truncates the path properly