decodeFromFile