getViewableData(): dir_id returned for files as well