read_buf and write_buf method disabled, speeds up file-copying