Added a file check prior to additional function import.