Revert "allow to open folder"

This reverts commit 964abe47887dfd6b6d80ddbee0183b9becf8323b.