update Map class to include fileName and line numbers