async readdir on app init