Properly check for existence of file before sourcing it