fix path parameter specifies the file path, add_chunk method does not add