remove unused filehandle