poc for idoc to file