read local file too.