File extension correction