return new Response(file_get_contents('resources/index.html'));

is way better!