Remove unused files. Add the correct permission.