Changed filenames.php to limit output to 50 files, and remove regexp input support.