Split off code to find target specific files and collect database information to separate methods.