A bunch of things that I find usefull. Use if you want
Whilte using readAndWrite, make sure to use 'path.join(__dirname, 'yourFile')'. If you won't use that it won't work!
- readAndWrite(filePath,linesCount) - read a txt file, retrieves a specified lines count and delete that lines from file