working version of external file ingest through rake task