Aded file read buffer fix