The `return` can never happen; the exception you raise is the same that would be risen anyway, except that you assume every error is a file-not-found error, which may not be the case; you never close the file; and you should use the standard `csv` module.