Removes files not pertinent to application.