Performed extract variable refactoring on join directory path and filename