abstract away filename