Revert "The FileBrowser now uses standard python functions to get directories and contents."
Wrong changes.
This reverts commit c0cd9526d4e18a56888bcc04381bb0f1b9adbd99.