File-manager : null ponter dereference