To execute the file myInsertFile.sql from the command line in a specific schema, I would suggest:
psql -d myDataBase -a
and then in the psql prompt:
myDataBase=>set search_path to my_schema_01;
SET
myDataBase=>\i myInsertFile.sql
This will execute the sql file with the search path set.