[phecomp][int2browser.py] write method now accepts file_type attribute