Atharv Joshi
Forum Moderator

I think you have used Smart Variable selection to record the script for importing the files. 
Smart variables such as 'FileSettings1' is not pre-defined in a new session so you can face errors.
You can switch to index selection based approach to record the initial code and later modify as required. 

Regards
Atharv