added file recovery

Signed-off-by: Christian Lüthold <biocodr@gmail.com>