Improve README and fix file input cancel bug