modify a filename