# Import libraries

import os
import pickle

actors = os.listdir('data')

filenames = []

for actor in actors:
    for file in os.listdir(os.path.join('data', actor)):
        filenames.append(os.path.join('data', actor, file))

print(filenames)
print(len(filenames))

pickle.dump(filenames, open('filenames.pkl', 'wb'))
