Added support for printing a licence file, too
Removed outdated TODO comment
Added further description to a comment
Reorganized trim function
Added comment to $args