add function to copy current file name