Remove filePath extension check