Now able to decode from io/file.