Finished pathFind, now work on file functions