Place file name logic in Finder

Finder is responsible of filtering only php files.
Also updated phpdoc issue