Combine multiple source files if they have the same path

This would be really useful for inline functions in header files where you can end up seeing 20 different copies of a header which makes it hard to gauge the coverage. 

Please feel free to criticise the implementation as this is the first time I've written python.