remove incorrectly names files from the list
Removes file extensions and ignores non php files.