Not as much of an issue as a feature request but can it check if the file is html and not attempt the operation if not.