Strip the filename.