test for file existence before sourcing