Make component has file detection