Remove suppress warnings for symlink and add file_exists check instead