Checks if the directory already exists
Added PHP_EOL to break lines