Remove CI licensing doc block
Add BASEPATH check to each file