readded file dump to test algorithm