code: def get_assignment(self):
          
          try:
              plan = json.loads(open(self.args.plan_file_path).read())
              return plan_to_assignment(plan)
          except IOError:
              self.log.exception(
                  'Given json file {file} not found.'
                  .format(file=self.args.plan_file_path),
              )
              raise
          except ValueError:
              self.log.exception(
                  'Given json file {file} could not be decoded.'
                  .format(file=self.args.plan_file_path),
              )
              raise
          except KeyError:
              self.log.exception(
                  'Given json file {file} could not be parsed in desired format.'
                  .format(file=self.args.plan_file_path),
              )
              raise
docs: Parse the given json plan in dict format.