elm_file: use weak refs
elm_file: use weak refs

use weak refs to make the code more safe

marcelhollerbach/jesus,marcelhollerbach/verne,marcelhollerbach/verne,marcelhollerbach/jesus,marcelhollerbach/verne,marcelhollerbach/jesus