[AESH-165]
use memoryhandler if filehandler fails