Add new method newMapfile + connect to the action