Add cleanfile_map().

Added function that removes the leading and trailing whitespaces from the lines of a text file.