Unit tested Logger and FIle classes along with the Unit Tests

Made some changes as per the output of Unit tests using PHPUnit