Use MeowFileUtils.isExternalStorageAvailable()
to check External Storage availability.
Use MeowFileUtils.deleteAllFiles(path)
to delete all of files in a path.
Use Context?.clearCache()
to clear Application's Cache.
Use File?.safeListFiles()
to get list of files without throw an exception.
Use File?.safeDelete()
to delete a file without throw an exception.
Use File?.safeExist()
to check a file exists without throw an exception.
Use File?.safeLength()
to get length of a file without throw an exception.