Fixed loadfilenames(), it's working