Removed typo in filename creation logic.