adding new smarty function function.filePath.php