Removed some lingering instances of filename parameter.