add extension for file name to pass the check.