support for multiple files/directories
Pass block
cleanup testarea
added documentation
if one gives you an array flatten that one
Added documentation