-Fix addFileSameNameDiffContent() unit test: Forget to add file in
database.
-Improve comments.
-Remove the use of ResultSet.