Modified DataAnalyst to accept files as input