Stop mixing ' and ", remove folder from file_put_contents().