only cleaning app files if the app dir exists