file removal error fixed

Signed-off-by: maxkoenig <max.koenig@npolar.no>