multiple directories

Something useful for my use case. It should not break current API.