Renamed to filetostring

Added outside task functionality,
Added 'trim' option and made it optional.
Added whitespace testing.