List files and directories and write to a .txt file.
To use call from terminal:
filerson 'path' 'params'
No path runs in current folder.
Pass an extension to ignore it.
filerson .txt
Ignore all files with extension txt.
You can pass multiple extensions. To ignore files without extensions use the parameter ne