added a 'base_dir' variable to the filelist_from_basename method