Pergunta de entrevista da empresa BairesDev

how would you read a file from the filesystem?