release file node if file can't be opened