Sanitize 'filterComments' and improve readability/modularity
Eta reduce and improve readability
Use null instead of iB'
Improve rmTrailingNewline
Simplify noDirs
Use System.FilePath.Posix for file extension handling
Improve readability
Rm unused splitBy function