Update CFileHelper.php

useful function