fix leak with files not cleaning up correctly

Can you explain this please?