minor tweaks and new script to process large amounts of files and save them as numpy arrays