contents view should handle non-folders too