In a situation like this:
my $README_mock = Test::MockFile->file( "README.md", $fakeREADME );
$returnedREADME = pre_objetivo_0( \@mock_repo_files ); # tries to read README.md inside
it does not seem to work, trying to read the "real" README. Is that intended or a bug?