Implemented file parser for instructions input