#!/bin/sh check_file_exists() { echo "info | config file ${1}" if [ ! -f "${1}" ]; then echo "warn | file ${1} does not exist." exit fi }