add contains_file method
tiny refactor
implment extract_file