Change name and rework input files

Using path instead of os.path to read in files.