First version of proccess_raws function.