clear debug stuff

removed file writes.
renamed file appropriatly, though it should probably be an interface