Updates file names; remove unnecessary files.