extract_path argument added ( issue #3 )