Remove file name from link