added try catch exception, so that it doesnt break when there is any missing file