remove rest view controller and file