getLayersFile public so that it can be overriden
Be able to configure the div id where errors are shown