Making directory name and file name configurable