Fixed databse load on startup
Local files are handled correct (media files)