fixed typo in error message and added file path