Version 2

changed the way files are processed