These funcs want 'filename'