Added in documentFinder.php - needed very little refactoring.