create subdirs if specified in the filename_format