typo
check_file now accepts an exception
things