Prevented empty files from being listed.
Removed unnecessary concatenation.