Edit path setting for coordinate file and add check for coordinates