Camera Snapshot and send it by telegram did not working

Hey,

so i just end to boot up my system, One last thing remains that does not work ( work fine before)

so on the configuration.yaml i add

  whitelist_external_dirs:
    - '/home/homeassistant/.homeassistant/camera/'

on file automation.yaml i have this , i got the message to my telegram but without the image.
any idea what i miss here?

- id: '1527507114160'
  alias: A00 - Alarm System #Front gate
  trigger:
  - entity_id: binary_sensor.door_window_sensor_158d0002d7b41e
    from: 'off'
    platform: state
    to: 'on'
  action:
  - delay: '00:00:10'
  - data:
      entity_id: camera.front_camera
      filename: /home/homeassistant/.homeassistant/camera/image.jpg
    service: camera.snapshot
  - data:
      message: gate is open
      target: '285738088'
    service: telegram_bot.send_message
  - data:
      file: /home/homeassistant/.homeassistant/camera/image.jpg
      target: '285738088'
    service: telegram_bot.send_photo

for every one have this issue, i put this line not under

"homeassistant:"


  whitelist_external_dirs:
    - '/home/homeassistant/.homeassistant/camera/'