adds final versions of functional_files and functional_files_2

both versions work as expected, check for acceptable input, and prompt for a filename to strip whitespace from (if none is supplied)
functional_files uses map() to strip whitespace
functional_files_2 uses list comprehension