use streams to read and transform presentation files; fix #9