added some customization for directories and filenames