fix processing no-extension files