Begin refactoring of vundle_info
Extracted some logic from the processFile function to increase maintainability.