file-parser: Add file flags (not only solib flag)