Removes files not required and moves its contents into the new helper
file.