add file exists check for aliases / functions files