adapter file: create cache directory if not exist