Removes unnecessary files, adds empty needed ones