On Wednesday, 24 September 2014 at 10:57:27 UTC, Suliman wrote:
> string getFileName()
> {
[...]
> 		getFilename(); //I need something similar, to call function 
> again.
You mistyped the function name, it's getFileName (capital N), and
you forgot "return". So:
return getFileName();