check if fileManager is supported before trying to delete files…., clsoes #236