Fix instruction file reading