How toView attached files from a og
You need to also to add the relation between the file to the current viewed groups with the OG membership relationship. You can have a look how this done in a view called "OG content"