removed .php from output filenames