anchor.diff:      {ok, String} = file:read_file(SourceFileName),
       runAsProcess(binary_to_list(String),fun
           (_) -> compil_emitter:to_file(TargetFileName) end).
  +
  +%% doc: read from file compile and put to stdout
  +doFile(SourceFileName) ->
  +    {ok, String} = file:read_file(SourceFileName),
  +    runAsProcess(binary_to_list(String),fun compil_emitter:to_stdout/0).
   
   %% doc: wrapper to run compile in other process, in case it crashes. The wrapper
   %%      starts and stops also needed services
  
positive.code: 
  -module(compil).
  
  -export([do/1, lli/1, fromFileToFile/2]).
  
  -export([main/1]).
  
  
negative.code: main([]) ->
      io:fwrite("Need input file");
  main([FromFile]) ->
      ?MODULE:doFile(atom_to_list(FromFile));
  main([FromFile,ToFile]) ->
      ?MODULE:fromFileToFile(atom_to_list(FromFile),atom_to_list(ToFile));
  main(Other)->
  