Thanks to visit codestin.com Credit goes to kotlinlang.org
Constructs a new FileOutputStream of this file and returns it as a result.
Thanks for your feedback!