Adding collection name to file