fix execution of file in Commander.exec_file