There is no way to turn off AuthType Basic on a file or directory once it is on, but you can exclude it using regular expressions.

For example, we had use this:

<Location "/">
AuthType Basic
....

but wanted to allow /somefile/ to be accessed without auth. To do so you want to do this:

<LocationMatch "^(?!/somefile/)">
AuthType Basic
...