Update File.php
Merge pull request #1 from ollietb/patch-1

Fix missing return statement