Updates to filename and deleting superfluous stuff