I'm not following the logic of turning an explicit directory to a file. Replacing default/ with default.html makes no sense to me.