core: Move loadSettings() to CHDFSettingsLoader
io: filesystem: add checkFile()

Function to test file existence and permissions.