Application of the separatrix map to study perturbed magnetic field lines near the separatrix