File component required validation is added