Checking whether files are loaded correcty