Add command to check current file on save