Implemented DirectoryProcessor with tests.

Tu pewnie dać yielda zamiast data.append + return