You're right, that was from before the file_exists check around it