javagit/src/main/java/edu/nyu/cs/javagit/api/commands/GitCheckoutResponse.java
public File getModifiedFile(int index) {
    CheckUtilities.checkIntIndexInListRange(modifiedFiles, index);
    return modifiedFiles.get(index);
  }
public File getModifiedFile(int index) {
    CheckUtilities.checkIntIndexInListRange(modifiedFiles, index);
    return modifiedFiles.get(index);
  }
Returns the file at a given location in the modifiedFiles list.

@param index
in the list and it should be positive and less than total no. of files modified.
@return modified file at the index in modifiedFiles list.