Writed improvements of IO by pvka13