# -*- mode: snippet -*-
# name: if ... end
# key: if
# --
if ${1:[ -f file ]}
    ${2:do}
end
$0