Presumably this is within a ForEach loop container, so seems that setting the Propagate property to False of said Container is what you need; then when the data flow for that file fails (I assume it does) then the next item in the ForEach Loop Container is still processed. If the error occurs at the Destination rather than the Source, you may need to also use a Sequence Container, so that the already
INSERTed rows can be rolled back.
Of course, this is all a complete guess on the next to no information we have. If you want a more concrete answer, you'll need to provide much more information.
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.