Implemented ShouldRenderFile

Please review.

If you are happy with these changes then I am and you can merge. 
I am not really too concerned about this anymore, but I did notice that because these types have internal state (unlike constant primitive types) they can cause test pollution.