support for file extensions up to 10 chars