Changes to rectify errors thrown by the Unit Tests

Made some changes as per the output of Unit tests using PHPUnit
Merge pull request #4 from vrbrahme/master

Unit tested Logger and FIle classes along with the Unit Tests