Implemented read/write/seek and tested it.