seting PrintStream to file
...