well, the $exists is not needed since $findfile would return $null if the file didn't exist.
Remove the $exist and change it to
if ($findfile($mircdir,acronyms.txt,1)) { run etc

other than that i can't see any errors.