testcase to load file