Clean up appfile.