implement crude reading and writing
show filename in title