i need to read file extensions