Moved file dashboard handling into file loader.
Moved script loading into own loader.
Moved local loading into own loader.