read command from file.