Rebuild app file.