Bug fix on file name

Wrong name was picked up for file name