Move map in file and add mechanism for read map