added list all folder idiom
minor changes