ksimanenka : hometask-session1

Hi
It'll be great to get Your short code review.
I use Java, so any comments about code style are welcome.
Thanks.
Paths should be constructed with `path.join`, also for security reasons its better to completely forbid paths containing `..` instead of normalising