file and folder exclusions

tried a more robust approach