SONAR-2657, SONAR-3677 Compute file hash and introduce partial analysis mode