Sanitize 'filterComments' and improve readability/modularity

`rmBlank = unlines . lines`