made pg that import the file and output stdout