Add a file to the index.
a Index.
a IndexEntry.
true if the file was successfully added, false otherwise.