fix #4 Auto restore table from an sql file