debug security ,read from file