Create file to record the commands