Don't change options object when calling validateFile. Add test for unused variable reporting. Closes #4.