Indents for these lines have some problem. And maybe we should keep use get_path here, or we just use os.path.join() for this.