Added new methods on Dir: "delete", "rmdir", "unlink" and "exist".
Added new methods on File: "exists" and "exist".
Also added various tests to test this functionality.