<?= return $file_contents; ?>

togli return che non serve a niente

<?=$file_contents?>

poi non ho capito esattamente il tuo problema