I have folder has some pickles files, I would like to save the file names in numpy file (file .np) I am able to save file names in text file (file1.txt) as the following: