error while initializing file and folder list no longer crashes the application