Add the files, save and read map in a external file