Read file extensions properly