s</a></div><hr><div class="binding"><span id="sh/make-new-file" class="binding-sym">sh/make-new-file</span> <span class="binding-type">function</span> <span class="binding-type"><a href="https://github.com/janet-lang/spork/blob/285fced0323c318d26e6ecf767f2870aa948a3cf//spork/sh.janet#L105">source</a></span> <pre class="binding-text">(make-new-file file-path &amp;opt mode)

Create and open a file, creating all the directories leading to the file if they do not exist, and return it. By default, open as a writ