Combined add functions, scans from file(not done)

The code doesn't work; couldn't figure out how to resolve the
FileNotFoundException; also there's a bunch of outdated stuff I kept
just in case nothing works