It is better to use a built-in SSIS Bulk Insert Task.
Check it out here: bulk-insert-task-in-ssis
One of the benefits of the SSIS Bulk Insert Task is that it allows to configure a connection to the source file.
That file location and name could be different for dev. vs. test vs. prod. environments.
So, you will have two tasks on the Control Flow:
- Execute SQL Task, to truncate a destination table.
- Bulk Insert Task, to load data from the file into a destination table.