deleterd unused reference to file