# No files under site.collections

**URL:** <https://talk.jekyllrb.com/t/no-files-under-site-collections/2825>\
**Category:** Help\
**Created:** [April 12, 2019, 7:53am UTC](https://talk.jekyllrb.com/t/no-files-under-site-collections/2825 "2019-04-12T07:53:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![theredcap](https://avatars.discourse-cdn.com/v4/letter/t/ebca7d/32.png) [@theredcap](https://talk.jekyllrb.com/u/theredcap)\
**Post date:** [April 12, 2019, 7:53am UTC](https://talk.jekyllrb.com/t/no-files-under-site-collections/2825/1 "2019-04-12T07:53:57Z")

</div>

Hi, I am trying to create a collection and iterate over it to list all my files but when I print site.collections  
it shows nothing under files:

[{“label”:“Binary\_Systems”,“files”:[],“output”:true,“docs”:[],“directory”:"/home/igaurab/Documents/Github/Book/\_Binary\_Systems",“relative\_directory”:"\_Binary\_Systems"},{“label”:“Boolean\_Algebra”,“files”:[],“output”:true,“docs”:

Although I haves 4 files within the Binary\_systems folder.  
This is my config:

collections\_dir: book  
collections:  
Binary\_Systems:  
output: true  
Boolean\_Algebra:  
output: true

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [April 12, 2019, 4:51pm UTC](https://talk.jekyllrb.com/t/no-files-under-site-collections/2825/2 "2019-04-12T16:51:34Z")

</div>

any formatting you may have is stripped when you post code without using backticks to mark it as code. There is also the \</\> code button in the editor to mark stuff as code.

Do you have a link to the repo?

I think collections are supposed to start with an underscore in the file system.
