Try NSFileManager.