Implement 'Storing Filenames in Memory' in Part2