better base_name for files in preprocess