format code
exception test.
drag and drop file into browser.
add test case