change file path and create sql for article