randome access file need to be implemented