Fix route to editi a file.