testing file in location minor edits made
fixed typing issues with namedtuple (WTF COLLECTIONS LIBRARY?)