Update the tag with filename information when uploading a function from a file