cosmetic change, eliminated repetition of filename and inserted os.path.join