Adding Filesystem class which contains file operations
And factored out code in ServerFilesGenerator.php