component file validation and link