Added check for non-existent / empty settings, that way it won't crash
if the file is not found... still needs work though!