UNSTABLE. Working on file ingest functionality