Using Config file to check file exist

@Joanna2
Check this one