Fixes #108, Allow to add asset from directory closure. 

Signed-off-by: crynobone <crynobone@gmail.com>