red-brick: Fixes on files list generation