Actually, had to allow null for file.