Update open file command.