assignment_submission instantiates AssignmentSubmission.new(self) and it passes itself in it. Inside the AssignmentSubmission it asks for its #assignment_to_upload to get the file that the CLI gets from input.