changed regfile to disable writting to