multiprocessing, fixed a bug with filenames, reading results from headers