simple file reader/writer

Needs the license header