Attempting to automatically determine extension.