can now read and write a single file