this is not needed here? unless you're going to test `extract_file` here too?