Add composer.json file.
Fix bug with file handler not being reset.
Fix spelling of file handler variable.