Added config to path definition
FileApi uses the query object to define it's path