removed file-extension-check