SWITCHYARD-1445 - Adding check for file existence