Check if file exists before sourcing