Implement data file handling.
More handling of algorithms between front and back end.