update filehandler code