Added eventListeners and it is possible to go with load when there are 0 files to load