The asset directory is read-only. You cant modify any file. So if you want to use any file you should put that in the Files folder of your project. Those will not get deleted in any situation. Maybe thats why file exist function was not built for asset directory.