move the file name out of code block