Throw custom FileNotFoundException for invalid require statements
Added exception handling demo