code block modification around filenames and pathnames