feature: Added string_from_f(ile).
bugfix: removed potential memory leak.

The previous implementation did not handle reusage of a string.
It would leak the previous contents.