Add contents parameter to "open_file" command