Updating filehandler