[Acc] [PATCH] uadk: add file path check