fixed #4 - implemented unused path detection