Make the Tmpdir class which extends Dir for simple explanation.