public static void Rename(IFileObject _file, String _newname) { try { _file.Rename(_newname); } catch (Exception ex) { throw ex; } }