Fix fileinfo being included in output
Remove file info from index tests
Add config management methods
Improve arguments passing and index loading - use config dictionary