Pdb rbuffer

Change struct FILE to RBuffer!