Mass deletion and inclusion of new files - total code rewrite