Or you can define a file _autocloser_ like shown in <https://github.com/nim-lang/Nim/issues/13289#issuecomment-724383241> when you don't need to keep the files opened.
- How to prevent a program from crashing when the "OSError: ... mrhdias
- How to prevent a program from crashing when the "OSEr... mratsim
- How to prevent a program from crashing when the "... spip
- How to prevent a program from crashing when the &q... cblake
- How to prevent a program from crashing when th... mrhdias
- How to prevent a program from crashing wh... cblake
- How to prevent a program from crashin... slonik_az
- How to prevent a program from cra... cblake
- How to prevent a program from cra... mrhdias
- How to prevent a program from cra... mrhdias
- How to prevent a program from cra... mrhdias
- How to prevent a program from cra... cblake
- How to prevent a program from cra... enthus1ast