removing unncessary argument from _write_file_ifaces.