flatten tags into result
set tags on file on validate