strip any file extension